<?php
class rpd_Db_Result implements ArrayAccess, Iterator
{
	public function current ()
	{
		return $this->_set;
	}
	
	public function next ()
	{
		
	}
	
	public function key ()
	{
		
	}
	
	public function valid ()
	{
		
	}
	
	public function rewind ()
	{
		
	}
	
	/**
	 * @param offset
	 */
	public function offsetExists ($offset)
	{
		if (!is_array($offset))
		{
			return isset($this->_set[$offset]);
		}
	}

	/**
	 * @param offset
	 */
	public function offsetGet ($offset)
	{
		if (!is_array($offset))
		{
			return isset($this->_set[$offset]);
		}
	}

	/**
	 * @param offset
	 * @param value
	 */
	public function offsetSet ($offset, $value)
	{
		if (!is_array($offset))
		{
			return isset($this->_set[$offset]);
		}
	}

	/**
	 * @param offset
	 */
	public function offsetUnset ($offset)
	{
		if (!is_array($offset))
		{
			return isset($this->_set[$offset]);
		}
	}
}

if (!isset(Hook::$classes["Db_Result"]))
{
	class Db_Result extends rpd_Db_Result {}
}